use godot::prelude::*;
use godot::classes::Sprite2D;
use godot::classes::ISprite2D;

#[derive(GodotClass)]
#[class(base=Sprite2D)]
struct TurnBaseBattle {
    speed: f64,
    angular_speed: f64,
    base: Base<Sprite2D>,
}


#[godot_api]
impl ISprite2D for TurnBaseBattle {
    fn init(base: Base<Sprite2D>) -> Self {
        Self {
            speed: 0.0,
            angular_speed: 0.0,
            base,
        }
    }
}










